'use strict';

var express = require('express');
var router = express.Router();
var workController = require('../controllers/work.controller');

// 搜索日报
router.post('/work/search',workController.search);

// 添加日报
router.post('/work/add',workController.add);

// 修改日报
router.post('/work/set',workController.set);

module.exports = router;